<template>
	<view>
		<m-agreement :type="type"></m-agreement>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				type: 'user'
			}
		},
		onLoad(options) {
			if (options.type) {
				this.type = options.type;
			}
		}
	};
</script>